﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX;

namespace Blake.Fluid
{
    public class RectangleParticle : Particle
    {
        public Vector3 Min = new Vector3();
        public Vector3 Max = new Vector3();
        public Vector3 Orientation = new Vector3();
        
        public Vector3 Size
        {
            get
            {
                return Max - Min;
            }
        }

        public Vector3 MinPosition
        {
            get
            {
                return Position + Min;
            }
        }

        public Vector3 MaxPosition
        {
            get
            {
                return Position + Max;
            }
        }
    }
}
